.ZYmain {
  // // margin: 20px;
  // margin-top: 20px;
}

.ziYuanTitle {
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 4px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  margin-left: 10px;
  display: flex;
  justify-content: space-between;
}

.ziYuanTitle span {
  display: inline-block;
}

.ziYuanTitle span:hover {
  color: red;
}

.ziYuanBox {
  margin-top: 20px;

  .grid-container {
    display: grid;
    /* 启用网格布局 */
    grid-template-columns: repeat(5, 1fr);
    /* 每行最多显示 6 个项目，每个项目占等分宽度 */
    gap: 30px;
    /* 网格项之间的间隔 */
    justify-items: start;
    /* 网格项左对齐 */
  }

  .grid-item {
    cursor: pointer;
    // color: white;
    box-sizing: border-box;
    width: 216px;
    height: auto;
    text-align: center;
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    .coverUrl {
      position: relative;
    }
    .coverUrl:hover {
      transform: translateY(-5px);
      transition: all 0.1s linear;
      box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    }
    .grid_img {
      width: 100%;
      height: 144px;
    }
    .sectionCount {
      font-size: 14px;
      color: #ffffff;
      width: 56px;
      height: 22px;
      line-height: 22px;
      background: rgba(0, 0, 0, 0.4);
      border-radius: 8px 0 0 0;
      position: absolute;
      right: 0;
      bottom: 0;
      text-align: center;
    }
    .grid_txt {
      margin-top: 4px;
      font-size: 14px;
      line-height: 20px;
      color: #212121;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: left;
    }
    .grid_class {
      font-size: 12px;
      color: #999;
    }
    .sign_box {
      display: flex;
      justify-content: space-between;
    }
  }
}
